package br.ufcg.les;

  import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.EditText;

public class EditarUmPreco extends Activity {

	private EditText preco;
	private BD banco;
	
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.editarumpreco);
        preco = (EditText) findViewById(R.id.editTextPrecoItemEditar);
    }
    
    public void onclickback(View v){
    	Intent i = new Intent();
    	i.setClass(this, ConfigurarPrecos.class);
    	startActivity(i);
    }
   
//    public void onclickEditarUmPrecoOK(View v){
//    	String novoPreco = preco.getText()+"";
//    	System.out.println(novoPreco);
//    	banco.editarItem(this, "coracao", "coracao", novoPreco+"", "No");
//    	Intent i = new Intent();
//    	i.setClass(this, ConfigurarPrecos.class);
//    	startActivity(i);
//    }
}
